<?php

namespace AdminBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * LogContactChat
 *
 * @ORM\Table(name="log_contact_chat")
 * @ORM\Entity
 */
class LogContactChat
{
    /**
     * @var integer
     *
     * @ORM\Column(name="webchat_user_id", type="integer", nullable=false)
     */
    private $webchatUserId = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="webchat_user_name", type="string", length=45, nullable=false)
     */
    private $webchatUserName = '';

    /**
     * @var integer
     *
     * @ORM\Column(name="member_user_id", type="integer", nullable=false)
     */
    private $memberUserId = '0';

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="ctime", type="datetime", nullable=false)
     */
    private $ctime = 'CURRENT_TIMESTAMP';

    /**
     * @var string
     *
     * @ORM\Column(name="message", type="text", length=65535, nullable=false)
     */
    private $message;

    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;



    /**
     * Set webchatUserId
     *
     * @param integer $webchatUserId
     *
     * @return LogContactChat
     */
    public function setWebchatUserId($webchatUserId)
    {
        $this->webchatUserId = $webchatUserId;

        return $this;
    }

    /**
     * Get webchatUserId
     *
     * @return integer
     */
    public function getWebchatUserId()
    {
        return $this->webchatUserId;
    }

    /**
     * Set webchatUserName
     *
     * @param string $webchatUserName
     *
     * @return LogContactChat
     */
    public function setWebchatUserName($webchatUserName)
    {
        $this->webchatUserName = $webchatUserName;

        return $this;
    }

    /**
     * Get webchatUserName
     *
     * @return string
     */
    public function getWebchatUserName()
    {
        return $this->webchatUserName;
    }

    /**
     * Set memberUserId
     *
     * @param integer $memberUserId
     *
     * @return LogContactChat
     */
    public function setMemberUserId($memberUserId)
    {
        $this->memberUserId = $memberUserId;

        return $this;
    }

    /**
     * Get memberUserId
     *
     * @return integer
     */
    public function getMemberUserId()
    {
        return $this->memberUserId;
    }

    /**
     * Set ctime
     *
     * @param \DateTime $ctime
     *
     * @return LogContactChat
     */
    public function setCtime($ctime)
    {
        $this->ctime = $ctime;

        return $this;
    }

    /**
     * Get ctime
     *
     * @return \DateTime
     */
    public function getCtime()
    {
        return $this->ctime;
    }

    /**
     * Set message
     *
     * @param string $message
     *
     * @return LogContactChat
     */
    public function setMessage($message)
    {
        $this->message = $message;

        return $this;
    }

    /**
     * Get message
     *
     * @return string
     */
    public function getMessage()
    {
        return $this->message;
    }

    /**
     * Get id
     *
     * @return integer
     */
    public function getId()
    {
        return $this->id;
    }
}
